//
//  LocationMessage.h
//
//  Created by Sebastian Borggrewe on 12.12.11.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

//a team encapsulates different players (playing in one team) under a certain name

#import <Foundation/Foundation.h>
#import "BaseMessage.h"

@interface LocationMessage : BaseMessage <NSCoding> {
    
@private
	//Username
	NSString* _username;

	//status attributes
	double _longitude;
	double _latitude;
}

-(id)initWithPlayer:(NSString *)username latitude:(double)lat longitude:(double)lng;

@property (readonly, nonatomic, retain) NSString *username;
@property (readonly, nonatomic) double longitude;
@property (readonly, nonatomic) double latitude;

@end
